local M = {}

local resp_handler = require("client_rpc_response_handler")

function M.rpc_request(service_name, method_name, request, callback)
	assert("string" == type(service_name))
	assert("string" == type(method_name))
	assert("string" == type(request))
	assert(not callback or "function" == type(callback))
	print(string.format("rpc request: %s.%s", service_name, method_name))
	c_rpc.request(service_name, method_name, request, callback)
end  -- rpc_request

return M
